$OpenBSD: patch-spec_pooling_spec_rb,v 1.2 2014/10/17 17:56:07 jasper Exp $

Make this work with rspec3.

--- spec/pooling_spec.rb.orig	Thu Feb 13 11:57:45 2014
+++ spec/pooling_spec.rb	Fri Oct 17 19:55:47 2014
@@ -127,7 +127,7 @@ describe "DataObjects::Pooling" do
       bob = Person.new('Bob')
       t1.join
       bob.release
-    end.should_not raise_error(DataObjects::Pooling::InvalidResourceError)
+    end.should_not raise_error
   end
 
   it "should allow you to flush a pool" do
@@ -149,7 +149,7 @@ describe "DataObjects::Pooling" do
     bob.release
     DataObjects.exiting = true
     sleep(1)
-    DataObjects::Pooling.scavenger?.should be_false
+    DataObjects::Pooling.scavenger?.should be_falsy
   end
 
   it "should be able to detach an instance from the pool" do
